package com.yipei.business.mapper;

import java.util.List;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yipei.business.domain.MlTradeDealOrder;
import com.yipei.business.domain.MlTradeEntrustOrder;

/**
 * 成交订单Mapper接口
 * 
 * @author yipei
 * @date 2024-12-21
 */
public interface MlTradeDealOrderMapper extends BaseMapper<MlTradeDealOrder>
{
    /**
     * 查询成交订单
     * 
     * @param id 成交订单主键
     * @return 成交订单
     */
    public MlTradeDealOrder selectMlTradeDealOrderById(Long id);

    /**
     * 查询成交订单列表
     * 
     * @param mlTradeDealOrder 成交订单
     * @return 成交订单集合
     */
    public List<MlTradeDealOrder> selectMlTradeDealOrderList(MlTradeDealOrder mlTradeDealOrder);

    /**
     * 新增成交订单
     * 
     * @param mlTradeDealOrder 成交订单
     * @return 结果
     */
    public int insertMlTradeDealOrder(MlTradeDealOrder mlTradeDealOrder);

    /**
     * 修改成交订单
     * 
     * @param mlTradeDealOrder 成交订单
     * @return 结果
     */
    public int updateMlTradeDealOrder(MlTradeDealOrder mlTradeDealOrder);

    /**
     * 删除成交订单
     * 
     * @param id 成交订单主键
     * @return 结果
     */
    public int deleteMlTradeDealOrderById(Long id);

    /**
     * 批量删除成交订单
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteMlTradeDealOrderByIds(Long[] ids);
}
